<?php
/**
 * Created By PhpStorm
 * Author: patrick wu
 * Date: 2020/10/30
 * Time: 11:00
 */
namespace App\Http\Model\Mysql;

use Illuminate\Database\Eloquent\Model;

class OrderRefundProcessModel extends Model
{
    /**
     * 处理内容
     */
    const FUNCTION_APPLY    =   0,          //用户申请
        FUNCTION_DEAL       =   1,          //客服处理
        FUNCTION_OPERATE    =   2,          //后台管理用户处理
        FUNCTION_DONE       =   3;          //后台操作完成

    /**
     * 处理描述
     */
    const FUNCTION_DESC  =   [
        self::FUNCTION_APPLY    =>  '申请提交',
        self::FUNCTION_DEAL     =>  '官方客服已处理',
        self::FUNCTION_OPERATE  =>  '商家同意',
        self::FUNCTION_DONE     =>  '处理完成'
    ];

    protected $table    =   'mini_order_refund_process';

    protected $guarded  =   [];

    protected $dateFormat   =   'U';
}
